package com.sst.common.Test;

import com.sst.common.utils.ThreadPoolUtil;
import java.util.concurrent.ThreadPoolExecutor;

public class ThreadTest {
    public static void main(String[] args) {
        Integer i = 10000000;
        long start = System.currentTimeMillis();
        ThreadPoolExecutor thread = ThreadPoolUtil.getThreadPoolExecutor();
            thread.execute(new Runnable() {
                @Override
                public void run() {
                }
            });
        //40566
//        long start = System.currentTimeMillis();
//        for (Integer i = 0; i < 10000000; i++) {
//            System.out.println(i);
//        }
        long end = System.currentTimeMillis();
        System.out.println(end-start);
    }
}
